package com.woniu.his.sms.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * skd规则项目表
 * </p>
 *
 * @author cb
 * @since 2022-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sms_skd_rule_item")
public class SkdRuleItem implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 员工ID
     */
    private Long staffId;

    /**
     * 一周的排班时间
     */
    private String daysOfWeek;

    /**
     * 状态 有效ON 无效OFF
     */
    private String itemStatus;

    /**
     * 限额
     */
    private Long skLimit;

    /**
     * 规则ID
     */
    private Long skRuleId;


}
